package com.jinken.handler;

/**
 * 降级方法类
 */
public class FallBackHandler {

    //降级方法
    public static String fallBack(Integer id,Throwable e){
        System.out.println("id = " + id);
        System.out.println("FallBackHandler.fallBack");
        e.printStackTrace();
        return "服务器异常，请稍后再试...";
    }
}
